User-Agent: Microsoft-Entourage/9.0.2509
Date: Thu, 24 May 2001 12:10:19 -0400
Subject: Re: My experience
From: Peter D Bethke <pdbethke@lassosmart.com>
To: <corraltalk@corral.lassosmart.com>
Message-ID: <B732AAAB.13D61%pdbethke@lassosmart.com>
In-Reply-To: <B732A649.19582%jvanheule@VHPublications.com>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit

Alex,

For directory file structure I use common methods to divide up files. ie
/sales/salesinfo.lasso, /aboutus/contact.lasso. I'm a big fan of
structuralism, as you might have guessed. For the includes, I always use
absolute file paths from the root, ie [include: '/includes/siteconfig.inc'].

Using directories for the main site files (the "public" ones) is really neat
when you start using the variable "myfoldername", which I detailed in the
white paper. This way you can do conditions based on location in the
siteconfig file, ie "[if: (var: 'myfoldername', encodenone) ==
'sales'][var_set: 'backgroundcolor' = 'blue'][/if]. Then if you have in your
master template the background color set to a variable, you can switch it
simply based on file location.

Peter

> From: Jim Van Heule <jvanheule@VHPublications.com>
> Reply-To: corraltalk@corral.lassosmart.com
> Date: Thu, 24 May 2001 11:51:37 -0400
> To: Multiple recipients of CorralTalk <corraltalk@corral.lassosmart.com>
> Subject: Re: My experience
> 
> Ahhh, the error page. I'm thinking of something totally different. Yes, I'm
> a big fan of use of the error page.
> 
> 
> I'm not sure what you mean by the directory file structure.
> -------------------------------------------------------------------------
> Lasso Summit 2001 is coming August 10-11              www.LassoSummit.com
> -------------------------------------------------------------------------
> Jim Van Heule                                JVanHeule@VHPublications.com
> President                                          www.VHPublications.com
> VH Publications, Inc.                                Direct: 616.844.0066
> Grand Haven, MI                                         Fax: 616.844.6373
> -------------------------------------------------------------------------
> 
>> From: Alex Pilson <alex@planetstudio.com>
>> Reply-To: corraltalk@corral.lassosmart.com
>> Date: Thu, 24 May 2001 10:58:11 -0400
>> To: Multiple recipients of CorralTalk <corraltalk@corral.lassosmart.com>
>> Subject: Re: My experience
>> 
>> At 10:47 AM -0400 5/24/01, Jim Van Heule wrote:
>>> You know. I haven't read the error trapping portion. If memory serves me
>>> correctly, that was written after I got started. Where can I get the latest
>>> pdf?
>>> 
>>> 
>>> I'm writing a huge error trapping routine for this client that is much
>>> larger than any I had ever written before. It includes an error table and
>>> even an auto window that displays at the bottom of the page to show error
>>> status during development or even after a site goes live.
>>> 
>>> So yes, I'd be very interested to see what has been proposed.
>> 
>> Actually it isn't written...It just mentions it. But I remember when
>> it was first talked about on the list that the subject of error
>> trapping came up with search engines. Didn't you say you tried this
>> on another project... for example;
>> 
>> someone requests the page; http://www.lassosmart.com/1/2/99/product.lasso
>> 
>> Then the error page parses the URL apart to retrieve the proper
>> product from the database?
>> 
>> 1 = category
>> 2 = subcategory
>> 99 = product number
>> 
>> Am I wrong on this?
>> 
>> Also, what was your take on directory file structure?
>> -- 
>> 
>> Alex Pilson
>> VP Convergent Technologies
>> Planet Studio, LLC
>> 404.816.5758, ext.104
>> http://www.planetstudio.com
> 

